// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'fastclick'
import  VueAwesomeSwiper from 'vue-awesome-swiper'//引入swiper
// 项目入口文件
import './assets/styles/reset.css'//重置css样式
import './assets/styles/border.css'//解决1px 边框像素的问题
import './assets/styles/iconfont.css'//图标库文件
import 'swiper/dist/css/swiper.css'//引入样式库


Vue.use(VueAwesomeSwiper);//使用swiper

//解决300ms的延时问题
Vue.config.productionTip = false;
fastClick.attach(document.body);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,//注册路由
  components: { App },//定义局部组件的使用
  template: '<App/>'//组件的模板
})
